<?php
/*
 * program:	均源
 * author:	雨中漫步 & 上善若水 & qhxin
 * email:	qhxin@qhxin.com
 * date:	2014/11/11
 * description:	又是一年双十一，不能剁手，就写点东西吧~~~~~~
 */

defined('IN_SCHOOL') or die();

/*{TranslateTagBegin}*/
class base_model{

	public $db;
	//public $cache;

	function __construct() {
		//db
		global $DB;
		$this->db = &$DB;
		
		//cache
		
		
	}
	
	function __destruct() {
	
	}
	
	public function __call($method, $args) {
		throw new Exception('base_model: Not implement method：'.
								$method.': ('.var_export($args, 1).
							')');
	}

}
/*{TranslateTagEnd}*/

?>